home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 41 / CD Expert nº 41.iso / DReign2 / DR2Demo.exe / data1.cab / Files / missions / demo / Demo Mission 2.zwp / objective_traitors_eliminated.cfg < prev    next >
Encoding:
Text File  |  2000-09-01  |  1.9 KB  |  107 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 1997-99 Pandemic Studios
  4. //
  5. // Dark Reign II
  6. //
  7.  
  8. CreateObjectType("objective_traitors_eliminated", "Objective")
  9. {
  10.   GameObj();
  11.   ObjectiveObj()
  12.   {
  13.    Condition("AND")
  14.    {
  15.     Condition("InRegion")
  16.     {
  17.       Team("Sprawlers");
  18.       Region("SprawlBase");
  19.       Type("*")
  20.       {
  21.           Amount(1);
  22.           Operator("<");
  23.       }
  24.     }
  25.     Condition("InRegion")
  26.     {
  27.       Region("monkey_power1");
  28.       Team("JDA");
  29.       Type("jda.building.solarpower")
  30.       {
  31.         Amount(0);
  32.         Operator(">");
  33.       }
  34.     }
  35.     Condition("InRegion")
  36.     {
  37.       Region("monkey_power2");
  38.       Team("JDA");
  39.       Type("jda.building.solarpower")
  40.       {
  41.         Amount(0);
  42.         Operator(">");
  43.       }
  44.     }
  45.    }
  46.  
  47.     Action()
  48.     {
  49.       DisplayObjective("Complete", "objective_traitors_eliminated");
  50.       DisplayObjective("Complete", "objective_block_ravine");
  51.       NewObjective("cineractive_outro");
  52.     }
  53.   }
  54. }
  55.  
  56. CreateObjectType("objective_traitors_eliminated2", "Objective")
  57. {
  58.   GameObj();
  59.   ObjectiveObj()
  60.   {
  61.    Condition("AND")
  62.    {
  63.     Condition("InRegion")
  64.     {
  65.       Team("Sprawlers");
  66.       Region("SprawlBase");
  67.       Type("*")
  68.       {
  69.           Amount(1);
  70.           Operator("<");
  71.       }
  72.     }
  73.     Condition("InRegion")
  74.     {
  75.       Region("monkey_power1");
  76.       Team("JDA");
  77.       Type("jda.building.solarpower")
  78.       {
  79.         Amount(1);
  80.         Operator("<");
  81.       }
  82.     }
  83.     Condition("InRegion")
  84.     {
  85.       Region("monkey_power2");
  86.       Team("JDA");
  87.       Type("jda.building.solarpower")
  88.       {
  89.         Amount(1);
  90.         Operator("<");
  91.       }
  92.     }
  93.    }
  94.  
  95.     Action()
  96.     {
  97.      GameMessage()
  98.      {
  99.       Message("msg_okay_fine");
  100.      }
  101.      Op("@.basegone", "=", 1);
  102.       NewObjective("objective_block_ravine2");
  103.     }
  104.   }
  105. }
  106.  
  107.